﻿using System;

namespace ajayumi.develop.win32.Transport.WCF.Services
{
    /// <summary>
    /// 准备传输事件参数
    /// Author  : 黄乙冬
    /// Date    : 2011-08-28
    /// </summary>
    public class TransReadyEventArgs : EventArgs
    {
        public TransportAction TransAction { get; private set; }
        public string IP { get; private set; }
        public string RelativePath { get; private set; }
        public long FileLength { get; private set; }
        public int ProgressPercentage { get; private set; }

        public TransReadyEventArgs(TransportAction action, string ip, string relativePath, long fileLength, int progressPercentage)
            : base()
        {
            this.TransAction = action;
            this.IP = ip;
            this.RelativePath = relativePath;
            this.FileLength = fileLength;
            this.ProgressPercentage = progressPercentage;
        }

    }
}
